//! 错误类型：无法找到 Pattern
//!
use thiserror::Error;

/// 错误类型：无法找到 Pattern
#[derive(Debug, Clone, Error)]
#[error("unable to find pattern at index \"{}\" in package \"{}\"", .index, .name)]
pub struct PatternNotFoundError {
    pub(crate) index: usize,
    pub(crate) name: String,
}
